package com.cubeofnine.sugar.service.element;

public class EntryListResult extends EntryResult {
	private int resultCount = -1;
	private int nextOffset = -1;

	public EntryListResult() {

	}

	public EntryListResult(int resultCount, int nextOffset) {
		this.resultCount = resultCount;
		this.nextOffset = nextOffset;
	}

	public int getResultCount() {
		return resultCount;
	}

	public void setResultCount(int resultCount) {
		this.resultCount = resultCount;
	}

	public int getNextOffset() {
		return nextOffset;
	}

	public void setNextOffset(int nextOffset) {
		this.nextOffset = nextOffset;
	}

	@Override
	public String toString() {
		return "EntryListResult [resultCount=" + resultCount + ", nextOffset="
				+ nextOffset + "]";
	}

}
